//
//  FlashBackViewController.m
//  20170207
//
//  Created by xuPeng on 2017/9/6.
//  Copyright © 2017年 陈旭鹏. All rights reserved.
//

#import "FlashBackViewController.h"
#import "AppDelegate.h"

@interface FlashBackViewController ()

@end

@implementation FlashBackViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self flashBack];
}

- (void)flashBack{
    AppDelegate *app = [UIApplication sharedApplication].delegate;
    UIWindow *window = app.window;
    [UIView animateWithDuration:1.0 animations:^{
        window.alpha = 0;
    }completion:^(BOOL finished) {
        exit(0);
    }];
}

@end
